package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 站点综合水质合格率统计对象 dispatchSiteComprehensiveWaterQualityQualifiedRateStats
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchSiteComprehensiveWaterQualityQualifiedRateStats extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 站点综合水质合格率统计编号 */
    @Excel(name = "站点综合水质合格率统计编号")
    private Long siteComprehensiveWaterQualityQualifiedRateStatsId;

    /** 关联的监测站点 ID */
    @Excel(name = "关联的监测站点 ID")
    private Long waterQualityMonitoringSitesId;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statDate;

    /** 站点该时间段内所有指标都合格的监测次数 */
    @Excel(name = "站点该时间段内所有指标都合格的监测次数")
    private Long qualifiedCount;

    /** 该站点该时间段内的总监测次数 */
    @Excel(name = "该站点该时间段内的总监测次数")
    private Long totalCount;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 综合水质合格率 */
    @Excel(name = "综合水质合格率")
    private BigDecimal qualifiedRate;

    public void setSiteComprehensiveWaterQualityQualifiedRateStatsId(Long siteComprehensiveWaterQualityQualifiedRateStatsId) 
    {
        this.siteComprehensiveWaterQualityQualifiedRateStatsId = siteComprehensiveWaterQualityQualifiedRateStatsId;
    }

    public Long getSiteComprehensiveWaterQualityQualifiedRateStatsId() 
    {
        return siteComprehensiveWaterQualityQualifiedRateStatsId;
    }
    public void setWaterQualityMonitoringSitesId(Long waterQualityMonitoringSitesId) 
    {
        this.waterQualityMonitoringSitesId = waterQualityMonitoringSitesId;
    }

    public Long getWaterQualityMonitoringSitesId() 
    {
        return waterQualityMonitoringSitesId;
    }
    public void setStatDate(Date statDate) 
    {
        this.statDate = statDate;
    }

    public Date getStatDate() 
    {
        return statDate;
    }
    public void setQualifiedCount(Long qualifiedCount) 
    {
        this.qualifiedCount = qualifiedCount;
    }

    public Long getQualifiedCount() 
    {
        return qualifiedCount;
    }
    public void setTotalCount(Long totalCount) 
    {
        this.totalCount = totalCount;
    }

    public Long getTotalCount() 
    {
        return totalCount;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setQualifiedRate(BigDecimal qualifiedRate) 
    {
        this.qualifiedRate = qualifiedRate;
    }

    public BigDecimal getQualifiedRate() 
    {
        return qualifiedRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("siteComprehensiveWaterQualityQualifiedRateStatsId", getSiteComprehensiveWaterQualityQualifiedRateStatsId())
            .append("waterQualityMonitoringSitesId", getWaterQualityMonitoringSitesId())
            .append("statDate", getStatDate())
            .append("qualifiedCount", getQualifiedCount())
            .append("totalCount", getTotalCount())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("qualifiedRate", getQualifiedRate())
            .toString();
    }
}
